/**
 * 
 */
package br.com.skynix.tcmc.service.configuracao.servicos.tipos_aparelhos;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import br.com.skynix.tcmc.base.spring.AbstractDao;
import br.com.skynix.tcmc.base.spring.AbstractServiceImpl;
import br.com.skynix.tcmc.model.rh.Empresa;
import br.com.skynix.tcmc.model.servico.TipoAparelho;

/**
 * @author davi
 * 
 */
@Repository
public class TipoAparelhoServiceImpl extends AbstractServiceImpl<TipoAparelho>
		implements TipoAparelhoService {

	@Autowired
	private TipoAparelhoDao dao;

	/*
	 * (non-Javadoc)
	 * 
	 * @see br.com.skynix.tcmc.base.spring.AbstractServiceImpl#getDao()
	 */
	@Override
	protected AbstractDao<TipoAparelho> getDao() {
		return dao;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see br.com.skynix.tcmc.service.configuracao.servicos.tipos_aparelhos.
	 * TipoAparelhoService#listarTodos(br.com.skynix.tcmc.model.rh.Empresa)
	 */
	@Override
	public List<TipoAparelho> listarTodos(Empresa empresa) {
		return dao.listarTodos();
	}
}
